ExceptionAssertions<TException> Class Methods
In This Topic
For a list of all members of this type, see ExceptionAssertions<TException> members.
Public Methods
| | Name | Description |
 | BeAssignableTo | Overloaded. Asserts that the object is assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | BeNull |
Asserts that the current object has not been initialized yet.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | BeOfType | Overloaded. Asserts that the object is of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | BeSameAs |
Asserts that an object reference refers to the exact same object as another object reference.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | Equals | (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | Match | Overloaded. Asserts that the predicate is satisfied. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | NotBeAssignableTo | Overloaded. Asserts that the object is not assignable to a variable of type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | NotBeNull |
Asserts that the current object has been initialized.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | NotBeOfType | Overloaded. Asserts that the object is not of the specified type T. (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | NotBeSameAs |
Asserts that an object reference refers to a different object than another object reference refers to.
(Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | Satisfy<T> | Allows combining one or more assertions using the other assertion methods that this library offers on an instance of . (Inherited from FluentAssertions.Primitives.ReferenceTypeAssertions<IEnumerable<TException>,ExceptionAssertions<TException>>) |
 | Where |
Asserts that the exception matches a particular condition.
|
 | WithInnerException | Overloaded. Asserts that the thrown exception contains an inner exception of type TInnerException. |
 | WithInnerExceptionExactly | Overloaded. Asserts that the thrown exception contains an inner exception of the exact type TInnerException (and not a derived exception type). |
 | WithMessage | Asserts that the thrown exception has a message that matches . |
 | WithoutMessage | Asserts that the thrown exception does NOT have a message that matches . |
Top
Extension Methods
See Also